package springcloudfeign.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import springcloudfeign.service.TestService;

@RestController
public class TestController {

	@Autowired
	private TestService testService;

	@RequestMapping("/sayHi")
	public String sayHi() {
		return testService.sayHi();
	}
}
